<!-- 主页面 -->
<div class="bg-light lter wrapper-md ng-scope">
  <h1 class="m-n font-thin h3" translate="log.list"></h1>
</div>
<div class="wrapper-md " ng-controller="LogCtrl">
	<div class="row">
		<div class="col-sm-12 m-b-sm">
			<div class="b-b m-b-sm"></div>
			<div class="form-inline search-row">
				<select class="form-control inline input-sm" style="width:120px;" name="searchType"
						ng-model="vm.query.searchType">
					<option value="account" translate="log.operator"></option>
				</select>
				<input type="search" class="form-control inline input-sm" name="keyword" style="width: 120px;"
					   ng-model="vm.query.keyword"
					   placeholder="{{'common.keyword' | translate}}">
				<span class="cut-off-line"></span>
				<select class="form-control inline input-sm" style="width:120px;" name="unitId"
						ng-model="vm.query.moduleId">
					<option value="">-{{'log.operationModule' | translate}}-</option>
					<option value="{{module.modelId}}" ng-repeat="module in vm.modules">{{module.modelName | translate}}</option>
				</select>
				<span class="cut-off-line"></span>
				<select class="form-control inline input-sm" style="width:120px;" name="status"
						ng-model="vm.query.status">
					<option value="">-{{'log.operationResult' | translate}}-</option>
					<option value="1" translate="common.success"></option>
					<option value="0" translate="common.fail"></option>
				</select>
				<span class="cut-off-line"></span>
				<div class="input-group">
					<input type="text" required class="form-control inline input-sm"
						   uib-datepicker-popup="yyyy-MM-dd" datepicker-options="app.dateOptions"
						   ng-model="vm.query.beginTime" name="start"
						   is-open="popup1.opened" readonly="readonly" placeholder="{{'common.beginTime' | translate}}"/>
					<span class="input-group-btn">
							<button type="button" class="btn btn-default  btn-sm" ng-click="open1()"><i
									class="glyphicon glyphicon-calendar"></i></button>
					 </span>
				</div>
				<span class="cut-off-line"></span>
				<div class="input-group">
					<input type="text" required class="form-control inline input-sm"
						   uib-datepicker-popup="yyyy-MM-dd" datepicker-options="app.dateOptions"
						   ng-model="vm.query.endTime" name="endTime"
						   is-open="popup2.opened" readonly="readonly" placeholder="{{'common.endTime' | translate}}"/>
					<span class="input-group-btn">
							<button type="button" class="btn btn-default  btn-sm" ng-click="open2()"><i
									class="glyphicon glyphicon-calendar"></i></button>
					 </span>
				</div>
				<button class="btn btn-sm btn-primary" ng-click="vm.search()">
					<i class="fa fa-search"></i> {{'common.search'|translate}}
				</button>
				<button class="btn btn-sm btn-default" ng-click="vm.reset()">
					<i class="fa fa-refresh"></i> {{'common.reset' | translate}}
				</button>
			</div>
		</div>
		<div class="col-sm-12">
			<table id="flexiGrid" iss-flexigrid="vm.options" flexigrid-control="vm.flexigridObj" class=""></table>
		</div>
	</div>
</div>

